package com.kefu.robot.model;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.validation.constraints.NotEmpty;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName(value="robot_doc_node_item")
@ApiModel(description = "多轮问题节点按钮")
public class RobotDocNodeItem implements Serializable {
    /**
     * 主键
     */
    @TableId(value="item_id")
    @NotEmpty
    @ApiModelProperty(value = "主键")
    private String itemId;

    /**
     * 节点id
     */
    @TableField(value = "node_id")
    @ApiModelProperty(value = "节点id")
    private String nodeId;

    /**
     * 指向节点id
     */
    @TableField(value = "next_node_id")
    @ApiModelProperty(value = "指向节点id")
    private String nextNodeId;

    /**
     * 名称
     */
    @TableField(value = "item_name")
    @ApiModelProperty(value = "名称")
    private String itemName;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    /**
     * 页面地址
     */
    @TableField(value = "item_type")
    @ApiModelProperty(value = "节点类型")
    private Integer itemType;

    /**
     * 页面地址
     */
    @TableField(value = "page_url")
    @ApiModelProperty(value = "页面地址")
    private String pageUrl;

    /**
     * 内容
     */
    @TableField(value = "item_content")
    @ApiModelProperty(value = "内容")
    private String itemContent;
    
    @TableField(value="threshold")
    @ApiModelProperty(value = "阈值")
    private BigDecimal threshold;
    
    @TableField(value="bind_value")
    @ApiModelProperty(value = "绑定值")
    private String bindValue;
    
    private static final long serialVersionUID = 1L;
}